include $(TOPDIR)/rules.mk

PKG_NAME:=docker-binary-x86_64
PKG_VERSION:=18.06.3-ce
PKG_RELEASE:=15
PKG_FLAGS:=nonshared

PKG_BUILD_DIR:=$(BUILD_DIR)/docker
PKG_SOURCE:=docker-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://download.docker.com/linux/static/stable/x86_64/
PKG_HASH:=346f9394393ee8db5f8bd1e229ee9d90e5b36931bdd754308b2ae68884dd6822

include $(INCLUDE_DIR)/package.mk
include ../docker/docker-common.mk

define Package/docker-binary-x86_64
	$(call Package/docker-binary-common/default)
	DEPENDS+=@TARGET_x86_64
endef

define Package/docker-binary-x86_64/description
 Docker daemon (pre-compiled static binary)
endef

define Package/docker-binary-x86_64/config
  source "$(SOURCE)/Config.in"
endef

define Build/Compile
	ls
endef

define Package/docker-binary-x86_64/install
	$(call Package/docker-binary-common/install,$(1))
endef

$(eval $(call BuildPackage,docker-binary-x86_64))
